<!DOCTYPE html>
<html lang="en"><head>
<title>关于</title>
  <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="()">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<style type="text/css">

</style>
</head><body>
<div><div class="preview" id="wmd-preview">
<style>
a:focus {
	outline:	thin dotted #333;
	outline:	5px auto -webkit-focus-ring-color;
	outline-offset:	-2px;
}
a:hover {
	outline:	0;
}
a:active {
	outline:	0;
}
a:hover {
	color:	#005580 !important;
	text-decoration:	underline !important;
}
blockquote   small:before {
	content:	'\2014 \00A0';
}
q:before {
	content:	"";
}
q:after {
	content:	"";
}
blockquote:before {
	content:	"";
}
blockquote:after {
	content:	"";
}
.hljs-folder:before {
	top:	0;
	content:	'';
	width:	14px;
	height:	12px;
	margin-top:	0px;
	margin-right:	3px;
	position:	relative;
	display:	inline-block;
	background-size:	14px;
	background-repeat:	no-repeat;
}
.hljs-file:before {
	top:	0;
	content:	'';
	width:	14px;
	height:	12px;
	margin-top:	0px;
	margin-right:	3px;
	position:	relative;
	display:	inline-block;
	background-size:	14px;
	background-repeat:	no-repeat;
}
.hljs-hiddenfile:before {
	top:	0;
	content:	'';
	width:	14px;
	height:	12px;
	margin-top:	0px;
	margin-right:	3px;
	position:	relative;
	display:	inline-block;
	background-size:	14px;
	background-repeat:	no-repeat;
}
.hljs-file:before {
	height:	14px;
	margin-left:	1px;
}
.hljs-hiddenfile:before {
	height:	14px;
	margin-left:	1px;
}
.hljs-file.photo:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c5";
}
.hljs-file.plain:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f016";
}
.hljs-file.source:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c9";
}
.hljs-file.archive:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c6";
}
.hljs-file.audio:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c7";
}
.hljs-file.video:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c8";
}
.hljs-file.pdf:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c1";
}
.hljs-file.xls:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c3";
}
.hljs-file.doc:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c2";
}
.hljs-file.ppt:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f1c4";
}
.hljs-folder:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f114";
}
.hljs-hiddenfile:before {
	font:	normal normal normal 14px / 1 FontAwesome;
	content:	"\f016";
}
.li_linenum:before {
	content:	counter(lines , decimal);
	position:	absolute;
	left:	0px;
	text-align:	center;
	width:	2.5em;
	opacity:	0.5;
	vertical-align:	top;
}

</style><body style="font-family: &apos;Helvetica Neue&apos; , Helvetica , Tahoma , Arial , &apos;Hiragino Sans GB&apos; , STHeiti , &quot;Microsoft YaHei&quot; , &quot;&#x5FAE;&#x8F6F;&#x96C5;&#x9ED1;&quot; , &apos;WenQuanYi Micro Hei&apos; , STXihei , &quot;&#x534E;&#x6587;&#x7EC6;&#x9ED1;&quot; , Heiti , &quot;&#x9ED1;&#x4F53;&quot; , SimSun , &quot;&#x5B8B;&#x4F53;&quot; , Song , sans-serif; font-size: 1.15em; font-weight: 100; color: #2f2f2f;">
	<div class="preview"><h2 id="green" style="margin-top: 0.5em; margin-top: 1.0em; margin-right: 0; margin-right: 0; margin-bottom: 0.5em; margin-bottom: .6em; margin-left: 0; margin-left: 0; font-family: inherit; font-weight: 500; line-height: 40px; color: inherit; text-rendering: optimizelegibility; font-size: 31.5px;"><a name="green" style="color: #0088cc; text-decoration: none;"></a>Green</h2>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">Green，一个关于人和自然的社区。<br>
以花草作为核心主题，汇聚对自然生活有所向往的群体，彼此分享交流。</p>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">此项目是作为一名编程新手的练手之作，借此项目熟悉前端技术，了解后端运作的机制。</p>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">——2014.6.11</p>
<h2 id="screen20shot" style="margin-top: 0.5em; margin-top: 1.0em; margin-right: 0; margin-right: 0; margin-bottom: 0.5em; margin-bottom: .6em; margin-left: 0; margin-left: 0; font-family: inherit; font-weight: 500; line-height: 40px; color: inherit; text-rendering: optimizelegibility; font-size: 31.5px;"><a name="screen20shot" style="color: #0088cc; text-decoration: none;"></a>Screen Shot</h2>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;"></p><div class="story_image_container story_block_image" style="text-align: center;"><div class="story_image" style="display: inline-block; position: relative; max-width: 80%;"><img src="" alt="image" name="68f15e3796babb8d173e18624bfd6452.png" style="height: auto; max-width: 100%; vertical-align: middle; border: 0; border-radius: 0.3125em; box-shadow: 0 2px 4px 0 rgba(34 , 36 , 38 , .12) , 0 2px 10px 0 rgba(34 , 36 , 38 , .08);"></div><br><div class="story_image_caption " style="border-bottom: 1px solid #d9d9d9; display: inline-block; color: #999; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;">image</div></div><p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;"></p>
<h2 id="e9a1b9e79baee6a186e69eb6e7ae80e4bb8b" style="margin-top: 0.5em; margin-top: 1.0em; margin-right: 0; margin-right: 0; margin-bottom: 0.5em; margin-bottom: .6em; margin-left: 0; margin-left: 0; font-family: inherit; font-weight: 500; line-height: 40px; color: inherit; text-rendering: optimizelegibility; font-size: 31.5px;"><a name="e9a1b9e79baee6a186e69eb6e7ae80e4bb8b" style="color: #0088cc; text-decoration: none;"></a>项目框架简介</h2>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">该项目基于Maven3.0构建。</p>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">后端：以Spring Framework为核心，使用Spring MVC作为模型视图控制器，Hibernate作为数据库持久化。<br>
前端：以Bootstrap和jQuery为主，多种开源的前端项目为辅。</p>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">项目前端所使用的开源项目列表：<br>
「1」：<a href="https://github.com/twbs/bootstrap" style="color: #0088cc; text-decoration: none;">Bootstrap</a><br>
「2」：<a href="http://jquery.com/" style="color: #0088cc; text-decoration: none;">jQuery</a><br>
「3」：<a href="https://github.com/schnawel007/bootstrap3-wysihtml5" style="color: #0088cc; text-decoration: none;">Bootstrap3-wysihtml5</a><br>
「4」：<a href="https://github.com/IanLunn/Hover" style="color: #0088cc; text-decoration: none;">Hover</a><br>
「5」：<a href="https://github.com/aFarkas/html5shiv" style="color: #0088cc; text-decoration: none;">html5shiv</a><br>
「6」：<a href="http://formvalidation.io/" style="color: #0088cc; text-decoration: none;">FormValidation</a></p>
<h2 id="e69687e4bbb6e7bb93e69e84" style="margin-top: 0.5em; margin-top: 1.0em; margin-right: 0; margin-right: 0; margin-bottom: 0.5em; margin-bottom: .6em; margin-left: 0; margin-left: 0; font-family: inherit; font-weight: 500; line-height: 40px; color: inherit; text-rendering: optimizelegibility; font-size: 31.5px;"><a name="e69687e4bbb6e7bb93e69e84" style="color: #0088cc; text-decoration: none;"></a>文件结构:</h2>
<pre class="xiaoshujiang_code_container" style="word-wrap: break-word;"><code class="nohighlight hljs" style="border: 0; border-radius: 4px; font-size: 90%; background-color: #D6DBDF; color: #4f424c; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; display: block; overflow-x: auto; background: #e7e9db; -webkit-text-size-adjust: none;">Green
├── src/main/resources
│   ├── applicationContext.xml
│   ├── green-dao.xml   
│   ├── green-service.xml  
│   ├── ehcache.xml
│   ├── jdbc.properties
│   └── log4j.properties             
│             
├── src/main/java
│   ├── com.green.cons
│   ├── com.green.dao  
│   ├── com.green.domain  
│   ├── com.green.domain.hbm
│   ├── com.green.exception
│   ├── com.green.service
│   └── com.green.web
│  
├── src/main/webapp
│   ├── css
│   ├── fonts 
│   ├── images
│   ├── js
│   ├── index.jsp...
│   └── WEB-INF
│       ├── tags
│       ├── green-servlet.xml
│       └── web.xml
│-
│
├── schema
├── README.md
├── favicon.ico
└── pom.xml
</code></pre>
<h2 id="e8bf90e8a18ce9a1b9e79bae" style="margin-top: 0.5em; margin-top: 1.0em; margin-right: 0; margin-right: 0; margin-bottom: 0.5em; margin-bottom: .6em; margin-left: 0; margin-left: 0; font-family: inherit; font-weight: 500; line-height: 40px; color: inherit; text-rendering: optimizelegibility; font-size: 31.5px;"><a name="e8bf90e8a18ce9a1b9e79bae" style="color: #0088cc; text-decoration: none;"></a>运行项目:</h2>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">使用Maven:</p>
<pre class="xiaoshujiang_code_container" style="word-wrap: break-word;"><code class="nohighlight hljs" style="border: 0; border-radius: 4px; font-size: 90%; background-color: #D6DBDF; color: #4f424c; padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; display: block; overflow-x: auto; background: #e7e9db; -webkit-text-size-adjust: none;">$ cd Green
$ mvn tomcat7:run
</code></pre>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">或</p>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">在你所喜好的IDE中，例如 SpringSource Tool Suite (STS) 或 IDEA等等:</p>
<ul style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 10px; margin-left: 35px;">
<li><p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">以 Maven Project 的形式导入 Green</p></li>
<li><p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">部署至Tomcat服务器</p></li>
</ul>
<p style="margin-top: 0; margin-right: 0; margin-bottom: 1.1em; margin-left: 0; line-height: 1.6;">从浏览器中访问 <a href="http://localhost:8080/Green" style="color: #0088cc; text-decoration: none;">http://localhost:8080/Green</a></p>
</div>
</body>
</div></div>
</body></html>

